// 搜索相关模块

import request from '@/util/request.js'

//封装搜索接口
export const getSearch = params=>{
    return request({
        method:'GET',
        url:'/cloudsearch',
        params
    })
}
//封装搜索建议
export const getSearchSuccest =params =>{
    return request({
        method:'GET',
        url:'/search/suggest',
        params
    })
}